package 
{	
	import mx.controls.dataGridClasses.DataGridColumn;
	import mx.utils.StringUtil;
	public function getColumnsFromArray( p_list : Array):Array
	{
		var result : Array = new Array();
			for (var item : String in p_list) {
				var prop : String = StringUtil.trim(p_list[item]);
				if (prop.length <= 0) {
					continue;
				}
				if ( result.indexOf(prop) != -1 ) {
					continue;
				}
				result.push(getColumnByID(prop));
			}
		return result;
	}
}